FolderItem.Launch Method

If the FolderItem is an application, the application is launched. If the FolderItem is a document, the document is opened (and the application is launched if necessary).

Syntax

FolderItem.Launch Parameters, [Activate]


Parameters

Parameters

String

Activate (Optional)

Boolean


Parameters is the application's parameters to be passed to the launched application (Windows and Linux). The optional parameter Activate specifies whether the application should be launched in the foreground or background. The default value is True (Foreground). If you specify False, REALbasic will attempt to launch the application in the background, but this may not work with certain applications.